import Vue from 'vue'
import App from './App'
//引入全局状态管理
import store from './store'
//引入封装方法
import api from './common/js/util.js'
//引入uView
import uView from "uview-ui";
//引入路由拦截
import '@/router.js'

Vue.prototype.$store = store
Vue.prototype.$api = api
Vue.use(uView)

App.mpType = 'app'
Vue.config.productionTip = false
const app = new Vue({
	...App
})
app.$mount()
